<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML >
<html>
<head>
<base href="<%=basePath%>">

<title></title>
<link rel="stylesheet" href="<%=basePath%>/css/result.css"
	type="text/css"></link>
<link rel="stylesheet" href="<%=basePath%>/css/style.css"
	type="text/css"></link>
<style type="text/css">
.float_left {
	list-style-type: none;
	float: left;
	width: 90px;
}
</style>
</head>

<body>

	<div style="height: 70px;"></div>
	<div class="main-div">
		<div>你好！欢迎访问微博管理系统</div>
	</div>
	<div class="main-div">
		<div style="margin-top: 30px; float: left">
			<div style="line-height: 30px">微博管理</div>
			<div style="line-height: 30px">账户管理</div>
		</div>
		<div style="margin-top: 30px; float: left;margin-left: 50px">
			<h4>添加微博信息</h4>
			<form action="blog/addBlog" method="post">
				<div style="margin-top: 30px; margin-left: 200px">
					<div style="line-height: 50px; float: left;">微博内容：</div>
					<input type="hidden" value="${userInfo.id}" name="id">

					<div style="line-height: 50px ;float: left;">
						<textarea rows="5" cols="30" name="content"></textarea>
					</div>
				</div>
				<div style="margin-top: 30px;margin-left: 230px">
					<input type="submit" value="保存数据" /> <input type="button"
						value="取 消 " />
				</div>
			</form>
			<form action="upload-file" method="post" enctype="multipart/form-data">
				<input type="file" name="file"> <input type="submit"
					value="提交">
			</form>

		</div>
	</div>
</body>
</html>
